#ifndef  __AHT25_H
#define  __AHT25_H

//----------------------------------Include-------------------------------------
#include  <stdint.h>
//------------------------------------------------------------------------------

//-----------------------------------Macro--------------------------------------
#define  AHT_NO_ERR                    (0)
//------------------------------------------------------------------------------

//------------------------------------Type--------------------------------------
typedef struct{
  uint16_t   rh;
  uint16_t   t;
  uint16_t   err;
  uint16_t   done;
}t_rht;
//------------------------------------------------------------------------------

//---------------------------------Share Var------------------------------------
#ifdef  AHT25_GLOBALS
#else
extern t_rht                   gt_rht_rt;
extern t_rht                   gt_rht_res;
#endif
//------------------------------------------------------------------------------

//----------------------------------Declare-------------------------------------
void aht25_reset(void);
void aht25_cyc(void);
//------------------------------------------------------------------------------

#endif
//------------------------------------EOF---------------------------------------



